package com.anolesoft.yr.mbus.contm.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.anolesoft.yr.mbus.contm.entity.ContmMainExample;
import com.anolesoft.yr.mbus.contm.entity.ContmMain;
import com.anolesoft.yr.mbus.contm.dao.ContmMainDao;
import com.anolesoft.yr.mbus.contm.service.ContmMainService;
@Service
public class ContmMainServiceImpl extends ServiceImpl<ContmMainDao, ContmMain> implements ContmMainService{

    @Override
    public long countByExample(ContmMainExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(ContmMainExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<ContmMain> selectByExample(ContmMainExample example) {
        return baseMapper.selectByExample(example);
    }
    @Override
    public int updateByExampleSelective(ContmMain record,ContmMainExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(ContmMain record,ContmMainExample example) {
        return baseMapper.updateByExample(record,example);
    }
    @Override
    public int updateBatch(List<ContmMain> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int batchInsert(List<ContmMain> list) {
        return baseMapper.batchInsert(list);
    }
    @Override
    public int insertOrUpdate(ContmMain record) {
        return baseMapper.insertOrUpdate(record);
    }
    @Override
    public int insertOrUpdateSelective(ContmMain record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
